package golf.stockinfo.buysellsimulation;

import java.sql.Date;


public class MarketData {

	private Date date;
	private Date nextDate;
	private float openIndex;
	private float highIndex;
	private float lowIndex;
	private float closeIndex;
	private float closeIndexSMAV;
	private float volume;
	private float volumeSMAV;
	private int SMAV;
	
	public MarketData(){
		date = Date.valueOf("0001-01-01");
		nextDate = Date.valueOf("9999-12-31");
		openIndex = 0.0f;
		highIndex = 0.0f;
		lowIndex = 0.0f;
		closeIndex = 0.0f;
		closeIndexSMAV = 0.0f;
		volume = 0.0f;
		volumeSMAV = 0.0f;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public float getOpenIndex() {
		return openIndex;
	}

	public void setOpenIndex(float openIndex) {
		this.openIndex = openIndex;
	}

	public float getHighIndex() {
		return highIndex;
	}

	public void setHighIndex(float highIndex) {
		this.highIndex = highIndex;
	}

	public float getLowIndex() {
		return lowIndex;
	}

	public void setLowIndex(float lowIndex) {
		this.lowIndex = lowIndex;
	}

	public float getCloseIndex() {
		return closeIndex;
	}

	public void setCloseIndex(float closeIndex) {
		this.closeIndex = closeIndex;
	}

	public float getCloseIndexSMAV() {
		return closeIndexSMAV;
	}

	public void setCloseIndexSMAV(float closeIndexSMAV) {
		this.closeIndexSMAV = closeIndexSMAV;
	}

	public float getVolume() {
		return volume;
	}

	public void setVolume(float volume) {
		this.volume = volume;
	}

	public float getVolumeSMAV() {
		return volumeSMAV;
	}

	public void setVolumeSMAV(float volumeSMAV) {
		this.volumeSMAV = volumeSMAV;
	}

	public int getSMAV() {
		return SMAV;
	}

	public void setSMAV(int sMAV) {
		SMAV = sMAV;
	}

	public Date getNextDate() {
		return nextDate;
	}

	public void setNextDate(Date nextDate) {
		this.nextDate = nextDate;
	}


}
